$OpenBSD: patch-Configure,v 1.1 2002/12/23 19:17:00 pvalchev Exp $
--- Configure.orig	Sun May 16 08:57:48 1999
+++ Configure	Mon Dec 23 13:59:26 2002
@@ -159,12 +159,12 @@ sed -e "s/-LFLAGS-/$LFLAGS/g" -e "s/-SRC
 # Automatically generated by ./Configure -- DO NOT EDIT!
 #
 
-CC = -CC-
-COPT = -COPT-
+#CC = -CC-
+#COPT = -COPT-
 CEXTRA = -CEXTRA-
 LEXTRA = -LEXTRA-
 LFLAGS = -LEXTRA- -LFLAGS-
-CFLAGS = $(CEXTRA) $(COPT)
+CFLAGS+= $(CEXTRA) $(COPT)
 
 PROG = netris
 HEADERS = netris.h
@@ -172,6 +172,8 @@ HEADERS = netris.h
 SRCS = -SRCS-
 OBJS = -OBJS-
 DISTFILES = -DISTFILES-
+DESTDIR= $(PREFIX)/bin
+MANDIR= $(PREFIX)/man
 
 all: Makefile config.h proto.h $(PROG) sr
 
@@ -227,6 +229,10 @@ clean:
 
 cleandir: clean
 	rm -f .depend Makefile config.h
+
+install:
+	install -o bin -g bin -s -m 755 $(PROG) $(DESTDIR)
+	install -o bin -g bin -s -m 755 sr $(DESTDIR)/sample-robot
 
 ##### DO NOT EDIT OR DELETE THIS LINE, it's needed by make depend #####
 END
